
<div id="box_card">
    {if $cards}
    {foreach from=$cards key=k item=v}
    <section class="edit-map wrapper edit-card {if $card_id != $v._id}default-hidden{/if}" id="edit_card_{$v._id}">
        <div class="form-group m-b-xs">
            <label class="col-sm-2 control-label">行动名称</label>
            <div class="col-sm-6">
                <p class="form-control-static">{$v.title}</p>
            </div>
        </div>
        <div class="line line-dashed line-sm pull-in"></div>
        
        <div class="form-group m-b-xs">
            <label class="col-sm-2 control-label">行动时间</label>
            <div class="col-sm-4">
                <p class="form-control-static">{$v.tte_start} -- {$v.tte_end}</p>
            </div>
            
            <label class="col-sm-2 control-label">行动目标</label>
            <div class="col-sm-4">
                <p class="form-control-static">{$v.respondent}</p>
            </div>
        </div>
        <div class="line line-dashed line-sm pull-in"></div>
        
        <div class="form-group m-b-xs">
            <label class="col-sm-2 control-label">行动地区</label>
            <div class="col-sm-8">
                <p class="form-control-static">{$v.region_name}</p>
            </div>
        </div>
        <div class="line line-dashed line-sm pull-in"></div>
        
        <div class="form-group m-b-xs">
            <label class="col-sm-2 control-label">详细地址</label>
            <div class="col-sm-6">
                <p class="form-control-static">{$v.address}</p>
            </div>
        </div>
        
        <div class="form-group m-b-xs">
            <label class="col-sm-2 control-label">自定义标签</label>
            <div class="col-sm-6 label-select2">
                <p class="form-control-static">{$v.label}</p>
            </div>
        </div>
        <div class="line line-dashed line-sm pull-in"></div>
        
        <div class="form-group m-b-xs">
            <label class="col-sm-2 control-label">行动描述</label>
            <div class="col-sm-6">
                <p class="form-control-static">{$v.description}</p>
            </div>
        </div>
        <div class="line line-dashed line-sm pull-in"></div>
        
        <section class="editor">
            <section class="panel panel-default m-t gallery-edit gallery-image {if ! $v.attachments_img}default-hidden{/if}">
                <header class="panel-heading">
                    <span class="label bg-danger pull-right"><font class="count-attachment">{$v.attachments_image_info|count}</font> 张</span>
                    <a href="{$_DOWNLOAD_URL}?card_id={$v._id}&type=image" class="btn btn-xs btn-lightblue pull-right m-r-sm" target="_blank">
                        <i class="fa fa-download"></i><span> 批量下载</span>
                    </a>
                    <i class="fa fa-th-large pull-right m-r-sm text-lg cursor-pointer text-muted gallery-show-type"></i>
                    <i class="fa fa-th-list pull-right m-r-xs text-lg cursor-pointer text-primary gallery-show-type"></i>
                    照片
                </header>
                
                <!-- 导航 - 照片 @start -->
                <div class="text-sm wrapper-sm b-b gallery-nav" id="nav_image_{$v._id}">
                    <a href="javascript:;" data-card_id="{$v._id}" data-fid="{$v.parent_folder.image.fid}" data-type="image">&nbsp;/&nbsp;</a>
                </div>
                <!-- 导航 - 照片 @end -->
                
                <!-- 照片 - 列表式 @start -->
                {include file="archive/admin/template/contenttemp.detail.gallery.listing.html"}
                <!-- 照片 - 列表式 @end -->
                
                <!-- 照片 - 平铺式 @start -->
                {include file="archive/admin/template/contenttemp.detail.gallery.tiled.html"}
                <!-- 照片 - 平铺式 @end -->
            </section>
            
            <section class="panel panel-default m-t gallery-edit gallery-audio {if ! $v.attachments_audio}default-hidden{/if}">
                <header class="panel-heading">
                    <span class="label bg-danger pull-right"><font class="count-attachment">{$v.attachments_audio_info|count}</font> 个</span>
                    <a href="{$_DOWNLOAD_URL}?card_id={$v._id}&type=audio" class="btn btn-xs btn-lightblue pull-right m-r-sm" target="_blank">
                        <i class="fa fa-download"></i><span> 批量下载</span>
                    </a>
                    <i class="fa fa-th-large pull-right m-r-sm text-lg cursor-pointer text-muted gallery-show-type"></i>
                    <i class="fa fa-th-list pull-right m-r-xs text-lg cursor-pointer text-primary gallery-show-type"></i>
                    录音 [总时长：<font class="count-duration">{$v.duration_audio}</font> 秒]
                </header>
                
                <!-- 导航 - 录音 @start -->
                <div class="text-sm wrapper-sm b-b gallery-nav" id="nav_audio_{$v._id}">
                    <a href="javascript:;" data-card_id="{$v._id}" data-fid="{$v.parent_folder.audio.fid}" data-type="audio">&nbsp;/&nbsp;</a>
                </div>
                <!-- 导航 - 录音 @end -->
                
                <!-- 录音 - 列表式 @start -->
                {include file="archive/admin/template/contenttemp.detail.audio.listing.html"}
                <!-- 录音 - 列表式 @end -->
                
                <!-- 录音 - 平铺式 @start -->
                {include file="archive/admin/template/contenttemp.detail.audio.tiled.html"}
                <!-- 录音 - 平铺式 @end -->
            </section>
            
            <section class="panel panel-default m-t gallery-edit gallery-video {if ! $v.attachments_video}default-hidden{/if}">
                <header class="panel-heading">
                    <span class="label bg-danger pull-right"><font class="count-attachment">{$v.attachments_video_info|count}</font> 个</span>
                    <a href="{$_DOWNLOAD_URL}?card_id={$v._id}&type=video" class="btn btn-xs btn-lightblue pull-right m-r-sm" target="_blank">
                        <i class="fa fa-download"></i><span> 批量下载</span>
                    </a>
                    <i class="fa fa-th-large pull-right m-r-sm text-lg cursor-pointer text-muted gallery-show-type"></i>
                    <i class="fa fa-th-list pull-right m-r-xs text-lg cursor-pointer text-primary gallery-show-type"></i>
                    录像 [总时长：<font class="count-duration">{$v.duration_video}</font> 秒]
                </header>
                
                <!-- 导航 - 录像 @start -->
                <div class="text-sm wrapper-sm b-b gallery-nav" id="nav_video_{$v._id}">
                    <a href="javascript:;" data-card_id="{$v._id}" data-fid="{$v.parent_folder.video.fid}" data-type="video">&nbsp;/&nbsp;</a>
                </div>
                <!-- 导航 - 录像 @end -->
                
                <!-- 录像 - 列表式 @start -->
                {include file="archive/admin/template/contenttemp.detail.video.listing.html"}
                <!-- 录像 - 列表式 @end -->
                
                <!-- 录像 - 平铺式 @start -->
                {include file="archive/admin/template/contenttemp.detail.video.tiled.html"}
                <!-- 录像 - 平铺式 @end -->
            </section>
        </section>
    </section>
    {/foreach}
    {/if}
</div>
